﻿using Hrm.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hrm.Services
{
    public interface IPortfolioService:IBaseService<Portfolio>
    {
        List<PortfolioDto> GetPortfolios();

        List<PortfolioDto> TopPortfolios(int topNum);

        List<PortfolioTypeDto> GetPortfolioTypes();

        bool AddPortfolioTypes(PortfolioTypeDto model);

        bool DeletePortfolioTypes(int id);

        PortfolioDto GetPortfolio(int id);

        bool AddPortfolio(PortfolioDto model);

        bool UpdatePortfolio(PortfolioDto model);

        bool DeletePortfolio(int id, int imageId = 0);

        List<PortfolioDto> GetRelatedPortfolios(int id);
    }
}
